<%@page import="com.zhuoshi.utils.ExcelHelper"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" contentType="application/vnd.ms-excel"%>
<%
request.setCharacterEncoding("UTF-8");
String filename = String.valueOf(System.currentTimeMillis());
String fileExt = ".xls";
String fullFile = filename + fileExt;
response.setHeader("Content-Disposition", "attachment;filename="+fullFile);
response.setContentType("application/vnd.ms-excel");
ExcelHelper excel = new ExcelHelper();
excel.getExcel(fullFile, response.getOutputStream());
%>
